home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / textutl3.lha / textutils-1.3 / cat / cut.1 < prev    next >
Text File  |  1992-09-22  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. CUT(1L)           MISC. REFERENCE MANUAL PAGES            CUT(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      cut - remove sections from each line of files
  10.  
  11. SYNOPSIS
  12.      cut {-b byte-list, --bytes=byte-list} [-n] [file...]
  13.  
  14.      cut   {-c    character-list,    --characters=character-list}
  15.      [file...]
  16.  
  17.      cut {-f field-list,  --fields=field-list}  [-d  delim]  [-s]
  18.      [--delimiter=delim] [--only-delimited] [file...]
  19.  
  20. DESCRIPTION
  21.      This manual page documents the  GNU  version  of  cut.   cut
  22.      prints  sections  of  each  line  of each input file, or the
  23.      standard input if no files are given.  A file  name  of  `-'
  24.      means   standard  input.   Which  sections  are  printed  is
  25.      selected by the options.
  26.  
  27.   OPTIONS
  28.      The _b_y_t_e-_l_i_s_t, _c_h_a_r_a_c_t_e_r-_l_i_s_t, and  _f_i_e_l_d-_l_i_s_t  are  one  or
  29.      more  numbers  or  ranges  (two numbers separated by a dash)
  30.      separated by commas.  The first byte, character,  and  field
  31.      are  numbered 1.  Incomplete ranges may be given: `-m' means
  32.      `1-m'; `n-' means `n' through end of line or last field.
  33.  
  34.      -_b, --_b_y_t_e_s _b_y_t_e-_l_i_s_t
  35.           Print only the bytes in positions listed in  _b_y_t_e-_l_i_s_t.
  36.           Tabs  and backspaces are treated like any other charac-
  37.           ter; they take up 1 byte.
  38.  
  39.      -_c, --_c_h_a_r_a_c_t_e_r_s _c_h_a_r_a_c_t_e_r-_l_i_s_t
  40.           Print  only   characters   in   positions   listed   in
  41.           _c_h_a_r_a_c_t_e_r-_l_i_s_t.   The  same as -b for now, but interna-
  42.           tionalization will change that.   Tabs  and  backspaces
  43.           are  treated  like  any other character; they take up 1
  44.           character.
  45.  
  46.      -_f, --_f_i_e_l_d_s _f_i_e_l_d-_l_i_s_t
  47.           Print only the fields listed in _f_i_e_l_d-_l_i_s_t.  Fields are
  48.           separated by a TAB by default.
  49.  
  50.      -_d, --_d_e_l_i_m_i_t_e_r _d_e_l_i_m
  51.           For -f, fields are separated by the first character  in
  52.           _d_e_l_i_m instead of by TAB.
  53.  
  54.      -_n   Do not split multibyte characters (no-op for now).
  55.  
  56.      -_s, --_o_n_l_y-_d_e_l_i_m_i_t_e_d
  57.           For -f, do not print lines  that  do  not  contain  the
  58.           field separator character.
  59.  
  60.  
  61.  
  62.  
  63. Sun Release 4.1           Last change:                          1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CUT(1L)           MISC. REFERENCE MANUAL PAGES            CUT(1L)
  71.  
  72.  
  73.  
  74.      The long-named options can be introduced with `+' as well as
  75.      `--',  for compatibility with previous releases.  Eventually
  76.      support for `+' will be removed, because it is  incompatible
  77.      with the POSIX.2 standard.
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Sun Release 4.1           Last change:                          2
  130.  
  131.  
  132.  
  133.